define(function(){
	var ajaxErrorAlert =function(config){
		//request,statusText,errorThrown
		//console.log('ajaxErrorAlert',request,statusText,errorThrown);
		var requestStr='';
		function addReqStr(k,v){
			requestStr+=k+':'+v+'<br>';
		}
		$.each(config,function(errorName,errorContext){
			addReqStr(errorName,errorContext);
		})
		/*addReqStr('Status',request.status || statusText);
		addReqStr('ErrorThrown',request.statusText || errorThrown);*/
		_Alert('Ajax Error',requestStr);
	}
	return ajaxErrorAlert;
})




